package com.ocom.common.entity.master;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * 缓存用到 加字段需注意！！！！！！！！！！！！！！！！！！！！
 */


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "company_part")
public class EntityCompanyPart implements Serializable {
    private static final long serialVersionUID = 8279164357060676500L;
    private long id;
    private Long beginComId;
    private Long endComId;
    private Integer type;
    private Integer isMaster;
    private String dataSourceName;
    private String databaseUrl;
    private String databaseUsername;
    private String databasePassword;

    //1分库 2分库 。。。。
    private Integer part;


}
